gsk: make render node getters const
authorChristian Hergert <chergert@redhat.com>
Wed, 3 Feb 2021 22:49:42 +0000 (14:49 -0800)
committerChristian Hergert <chergert@redhat.com>
Mon, 8 Feb 2021 19:29:36 +0000 (11:29 -0800)
commit161ddcfa92b949649701a07ecc8f4317a4656e43
treebfeadcd8bd1b8775e0fd362c3c536abf47c74d56
parent226dc496024ef46e6cb5562ee61b11ea0fd3d954
gsk: make render node getters const

This also removes the return if fail macros from these as a good portion
of them didn't have them anyway. I think it's fair to say that access to
these incorrectly is a programmer error.

It significantly reduces the amount of code generated into generally a
movss,ret.
gsk/gskrendernode.h
gsk/gskrendernodeimpl.c
gsk/gskrendernodeprivate.h